function [indexA,indexB] = FindIndex(a,b)

indexA = [];
indexB = [];
for i=1:size(a,2)
    for j=1:size(b,2)
        if a(:,i)==b(:,j)
            indexA = [indexA , i];
            indexB = [indexB , j];
        end
    end
end

%indexA
%indexB



        


        
        
        